/**
  ******************************************************************************
  * @file    User/main.c
  * @author  JUSHENG Application Team
  * @version V1.0.4
  * @date    12-14-2021
  * @brief   Main program body
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT 2021 JUSHENG</center></h2>
  *
  *
  *
  ******************************************************************************
  */ 

/* Includes ------------------------------------------------------------------*/
#include "include.h"
#include "main.h"
#include "user.h"
#include "tk_cfg.h"
/** @addtogroup Template_Project
  * @{
  */
  
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

/**
  * @brief  Main program.
  * @param  None
  * @retval None
  */
int main(void)
{
    __enable_irq();
    ll_wdt_stop(WDT);
    
    ll_gpio_config(PA, PIN_0, LL_GPIO_MD_OUT_PP);
    
    ll_timer_cnt_set_us(TIM0, 125);
    
    ll_timer_cnt_start(TIM0);
    
    NVIC_EnableIRQ(TIM0_IRQn);
    
    while(1);
}

/**
  * @}
  */

/*************************** (C) COPYRIGHT 2021 JUSHENG ***** END OF FILE *****/
